package com.openbravo.bean.erp;

import java.util.Date;

import com.openbravo.bean.erp.viewbean.FindOrdersInfo;

import e.odbo.data.bean.I_AutoGeneratorStringKey;
import e.odbo.data.bean.I_ModifiedLogBean;

public class OrderRelation implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6742832998991478483L;
	
	public String id;
	public String superID;
    public String refId;
    public String memo; 
    public String beforState;
    public String afterState;

    FindOrdersInfo relOrderInfo;  
	
    private Date lastModified;
    
    private double cash;
    
	@Override
	public String getKey() {
		return id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSuperID() {
		return superID;
	}

	public void setSuperID(String superID) {
		this.superID = superID;
	}

	public String getRefId() {
		return refId;
	}

	public void setRefId(String refId) {
		this.refId = refId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getBeforState() {
		return beforState;
	}

	public void setBeforState(String beforState) {
		this.beforState = beforState;
	}

	public String getAfterState() {
		return afterState;
	}

	public void setAfterState(String afterState) {
		this.afterState = afterState;
	}


	@Override
	public void setKey(String key) {
		this.id=key;
	}

	public FindOrdersInfo getRelOrderInfo() {
		return relOrderInfo;
	}

	public void setRelOrderInfo(FindOrdersInfo relOrderInfo) {
		this.relOrderInfo = relOrderInfo;
	}

    public Date getLastModified() {
        return lastModified;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

	public double getCash() {
		return cash;
	}

	public void setCash(double cash) {
		this.cash = cash;
	}
}
